package com.digitalchina.lxnsy.sy.lichang;

import android.webkit.JavascriptInterface;

import com.digitalchina.lxnsy.base.BaseHtmlActivity;
import com.digitalchina.lxnsy.sy.baoxianjilu.SeeEarTag3Activity;


public class ViewLeaveRecordActivity extends BaseHtmlActivity {
    private int tag = 0;

    @Override
    protected void loadHtml() {
        webView.addJavascriptObject(new JsApi(), null);

        loadUrl("viewLeaveRecord");
        setTitle("查看离场记录");

    }




    @Override
    public void rightOnClick() {

    }

    public class JsApi {


        @JavascriptInterface
        public void editLeaveRecorder(Object msg) {
            finish();
            go(EditLeaveRecordActivity.class);

        }



        @JavascriptInterface
        public void seeEarTag3(Object msg) {
            go(SeeEarTag3Activity.class);

        }






    }
}
